package com.kefu.chat.model;

import java.io.Serializable;

import javax.validation.constraints.NotEmpty;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@TableName(value="chat_reply")
@ApiModel(description="快捷回复")
public class ChatReply implements Serializable {
    @TableId(value="id")
    @NotEmpty
    @ApiModelProperty(name = "id", value = "主键")
    private String id;

    /**
     * 租户
     */
    @TableField(value = "tenant_id")
    @ApiModelProperty(name = "tenantId", value = "租户")
    private String tenantId;

    /**
     * 客服
     */
    @TableField(value = "admin_id")
    @ApiModelProperty(name = "adminId", value = "客服")
    private String adminId;

    /**
     * 上级id
     */
    @TableField(value = "parent_id")
    @ApiModelProperty(name = "parentId", value = "上级id")
    private String parentId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(name = "createTime", value = "创建时间")
    private Long createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(name = "updateTime", value = "更新时间")
    private Long updateTime;

    /**
     * 关键词
     */
    @ApiModelProperty(name = "keyword", value = "关键词")
    private String keyword;

    /**
     * 内容
     */
    @ApiModelProperty(name = "name", value = "内容")
    private String name;

    /**
     * 序号
     */
    @ApiModelProperty(name = "weight", value = "序号")
    private Integer weight;

    /**
     * 类型：0公共，1自己
     */
    @ApiModelProperty(name = "type", value = "类型：0公共，1自己")
    private Integer type;
    private static final long serialVersionUID = 1L;
}